using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Leeder.Model;

namespace ThermalImagery.Model
{
    /// <summary>
    /// 
    /// </summary>
   public class SetupModel : BaseModel
   {
        /// <summary>
        /// 串口号
        /// </summary>
        public string PortName { get; set; }
        /// <summary>
        /// OK判定数量(达到该数量即为OK)
        /// </summary>
        public int OkCount { get; set; }
        /// <summary>
        /// OK温度差值(与对比值达到该差值即判定当前区域OK)
        /// </summary>
        public int OkDifferenceValue { get; set; }
        /// <summary>
        /// OK温度(达到该温度即判定当前区域OK)
        /// </summary>
        public int OkValue { get; set; }
        /// <summary>
        /// 单次检测时长
        /// </summary>
        public int CheckTime { get; set; }
        /// <summary>
        /// 光眼输入端口
        /// </summary>
        public int PhotoelectricityInput { get; set; }
        /// <summary>
        /// 按钮(拉绳)输入端口
        /// </summary>
        public int SwitchInput { get; set; }
        /// <summary>
        /// 红灯输出端口
        /// </summary>
        public int RedLampOutput { get; set; }
        /// <summary>
        /// 绿灯输出端口
        /// </summary>
        public int GreenLampOutput { get; set; }
        /// <summary>
        /// 蜂鸣输出端口
        /// </summary>
        public int BuzzerOutput { get; set; }
        /// <summary>
        /// 光眼延时触发时间
        /// </summary>
        public int PhotoelectricityDelay { get; set; }
        /// <summary>
        /// 相机IP
        /// </summary>
        public string CameraIP { get; set; }
        /// <summary>
        /// 相机端口
        /// </summary>
        public int CameraPort { get; set; }
        /// <summary>
        /// 相机登录名
        /// </summary>
        public string CameraUserId { get; set; }
        /// <summary>
        /// 相机登录密码
        /// </summary>
        public string CameraPwd { get; set; }
        /// <summary>
        /// 图片保存时长(天)
        /// </summary>
        public int PirtureRetentionDuration { get; set; }
        /// <summary>
        /// 图片过期清理作业时间
        /// </summary>
        public int PirtureClearTime { get; set; }
        /// <summary>
        /// 检测方式
        /// </summary>
        public int DetectionMode { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsPhantom { get; set; }
   }
}